-- GENERATED SPELL FOR [Greyheart Skulker] --


function spell0_21232(pUnit, Event) --@Kick,n/a--
pUnit:FullCastSpellOnTarget(38625,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_21232', 6254, 1)
end

function Sorts_21232(pUnit, Event)
local choix_sorts_21232 = math.random(0, 0)
if choix_sorts_21232 == 0 then
pUnit:RegisterEvent('spell0_21232', 1, 1)
end
end

function mob21232_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21232', math.random(1500, 3000), 1)
end

function mob21232_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21232_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21232_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21232, 1, 'mob21232_Action')
RegisterUnitEvent(21232, 2, 'mob21232_Leave')
RegisterUnitEvent(21232, 3, 'mob21232_Kill')
RegisterUnitEvent(21232, 4, 'mob21232_Die')
